package com.ad_hccm.service.impl.Appendix;

import com.ad_hccm.dao.Appendix.AEDateDao;
import com.ad_hccm.domain.Appendix.AEDate;
import com.ad_hccm.service.Appendix.AEDateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO 不良事件(AE)报告表日期
 */
@Service
public class AEDateServiceImpl implements AEDateService {
    @Autowired
    private AEDateDao dao;

    @Override
    public boolean save(AEDate domain) {
        return dao.save(domain);
    }

    @Override
    public boolean update(AEDate domain) {
        return dao.update(domain);
    }

    @Override
    public AEDate getById(String id) {
        return dao.getById(id);
    }

    @Override
    public List<AEDate> getAll() {
        return dao.getAll();
    }
}
